Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented May 24, 2025

Description

Now that we have a monorepo we can start sharing code in packages. I started with moving src/schemas into a @roo-code/types package. This cleans a lot of stuff up and lets us get rid of the generate-types stuff. We can also get rid of the Roo-Code-Types repo and publish the npm package from packages/types 💪 .

I also defined build dependencies in turbo.json for a cleaner build process.


Important

Introduces @roo-code/types package and refactors codebase to use it, simplifying type management and build process.

  • New Package:
    • Introduces @roo-code/types package for shared types and schemas.
  • Refactoring:
    • Replaces direct imports from src/schemas with @roo-code/types across the codebase.
    • Removes generate-types script and related files.
  • Build and Configuration:
    • Updates turbo.json to include @roo-code/types#build as a dependency for test tasks.
    • Modifies esbuild.mjs and vite.config.ts to alias @roo-code/types to the new package path.
    • Updates package.json scripts to reflect new build process.
  • Miscellaneous:
    • Removes obsolete files like overwrite_changeset_changelog.py and condensing.test.ts.

This description was created by Ellipsis for dd194ab. You can customize this summary. It will automatically update as commits are pushed.

@cte cte merged commit e66136f into main May 26, 2025
10 checks passed
@cte cte deleted the cte/roo-types-package branch May 26, 2025 19:06
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap May 26, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants